<h1>用户信息</h1>
<div>
	<div>用 户 名：<?php echo $user['username']; ?></div>
	<div>真实姓名：<?php echo $user['realname']; ?></div>
	<div>联系方式：<?php echo $user['phone']; ?></div>
	<div>权限：</div>
	<div>
	<?php
	foreach ($user['rights'] as $v) {
	?>
	<p><?php echo $rights[$v][1]; ?></p>
	<?php
	}
	?>
	</div>
</div>